package hy;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SentinelCtrl {
    @GetMapping("/testa")
    public String testa()throws Exception{
        Thread.sleep(300);
        return "------------testA----------";
    }
    @GetMapping("/testb")
    public String testb(){
        return "------------testB----------";
    }
}